﻿@model ShivamEMR.Model.Domain.CRMDomain.Event

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script src="@Url.Content("~/Scripts/dhtmlxscheduler.js")" type="text/javascript"></script>
   <link href="@Url.Content("~/Scripts/dhtmlxscheduler.css")" rel="stylesheet" type="text/css" />   
	    <style type="text/css">
	        html, body
	        {
	            height:100%;
	            padding:0px;
	            margin:0px;
	        }
	    </style>
	    <script type="text/javascript">
	        function init() {
	            scheduler.config.xml_date = "%m/%d/%Y %H:%i";
	            scheduler.init("scheduler_here", new Date(2010, 6, 1), "month");
	            scheduler.load("/Calendar/Data");

	            var dp = new dataProcessor("/Calendar/Save");
	            dp.init(scheduler);
	            dp.setTransactionMode("POST", false);
	        }
	    </script>

        <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
			<div class="dhx_cal_navline">
				<div class="dhx_cal_prev_button">&nbsp;</div>
				<div class="dhx_cal_next_button">&nbsp;</div>
				<div class="dhx_cal_today_button"></div>
				<div class="dhx_cal_date"></div>
				<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
				<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
				<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
			</div>
			<div class="dhx_cal_header">
			</div>
			<div class="dhx_cal_data">
			</div>		
		</div>
 
